golang.org/x/tools/internal/versions.gover.major (field)
7 uses
golang.org/x/tools/internal/versions (current package)
gover.go#L19: major string // decimal
gover.go#L35: if c := cmpInt(vx.major, vy.major); c != 0 {
gover.go#L56: if v.minor == "" || v.major == "1" && v.minor == "0" {
gover.go#L57: return v.major
gover.go#L59: return v.major + "." + v.minor
gover.go#L74: v.major, x, ok = cutInt(x)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)